home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / gcc / gcc260utilsdoc.lha / gnu / man / man1 / gzexe.1 < prev    next >
Encoding:
Text File  |  1994-07-30  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GZEXE(1)                 USER COMMANDS                   GZEXE(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      gzexe - compress executable files in place
  10.  
  11. SYNOPSIS
  12.      gzexe [ name ...  ]
  13.  
  14. DESCRIPTION
  15.      The _g_z_e_x_e utility allows  you  to  compress  executables  in
  16.      place  and  have  them  automatically uncompress and execute
  17.      when you run them (at a penalty in performance).  For  exam-
  18.      ple  if  you  execute  ``gzexe /bin/cat'' it will create the
  19.      following two files:
  20.          -r-xr-xr-x  1 root  bin   9644 Feb 11 11:16 /bin/cat
  21.          -r-xr-xr-x  1 bin   bin  24576 Nov 23 13:21 /bin/cat~
  22.      /bin/cat~ is the original file and  /bin/cat  is  the  self-
  23.      uncompressing  executable  file.   You  can remove /bin/cat~
  24.      once you are sure that /bin/cat works properly.
  25.  
  26.      This utility is most  useful  on  systems  with  very  small
  27.      disks.
  28.  
  29. OPTIONS
  30.      -d   Decompress the given executables instead of compressing
  31.           them.
  32.  
  33. SEE ALSO
  34.      gzip(1), znew(1), zmore(1), zcmp(1), zforce(1)
  35.  
  36. CAVEATS
  37.      The compressed executable is a shell script. This may create
  38.      some  security  holes. In particular, the compressed execut-
  39.      able relies on the PATH environment variable  to  find  _g_z_i_p
  40.      and some other utilities (_t_a_i_l, _c_h_m_o_d, _l_n, _s_l_e_e_p).
  41.  
  42. BUGS
  43.      _g_z_e_x_e attempts to retain the original file attributes on the
  44.      compressed executable, but you may have to fix them manually
  45.      in some cases, using _c_h_m_o_d or _c_h_o_w_n.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.